package com.leo.exception;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 030
 * @date 2020/9/3 17:56
 * @description 业务异常
 * @className BusinessException
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BusinessException extends RuntimeException {

	@ApiModelProperty(value = "状态码")
	private Integer code;

	@ApiModelProperty(value = "错误信息")
	private String errMsg;

}
